package game.games.carcassonne;

import java.awt.image.BufferedImage;

public class Tile
{
    public enum TYPE
    {
        BURG, WIESE, STRASSE, FLUSS, KLOSTER, KREUZUNG
    }
    
    private BufferedImage bitmap;
    
    private TYPE          type;
    
    private TYPE          topType;
    private TYPE          leftType;
    private TYPE          rightType;
    private TYPE          bottomType;
    
    private boolean       wappen;
    
    public Tile(BufferedImage bitmap, TYPE type, TYPE topType, TYPE leftType, TYPE rightType, TYPE bottomType, boolean wappen)
    {
        setBitmap(bitmap);
        setTopType(topType);
        setLeftType(leftType);
        setRightType(rightType);
        setBottomType(bottomType);
        setWappen(wappen);
    }
    
    public BufferedImage getBitmap()
    {
        return bitmap;
    }
    
    public void setBitmap(BufferedImage bitmap)
    {
        this.bitmap = bitmap;
    }
    
    public TYPE getType()
    {
        return type;
    }
    
    public void setType(TYPE type)
    {
        this.type = type;
    }
    
    public TYPE getTopType()
    {
        return topType;
    }
    
    public void setTopType(TYPE topType)
    {
        this.topType = topType;
    }
    
    public TYPE getLeftType()
    {
        return leftType;
    }
    
    public void setLeftType(TYPE leftType)
    {
        this.leftType = leftType;
    }
    
    public TYPE getRightType()
    {
        return rightType;
    }
    
    public void setRightType(TYPE rightType)
    {
        this.rightType = rightType;
    }
    
    public TYPE getBottomType()
    {
        return bottomType;
    }
    
    public void setBottomType(TYPE bottomType)
    {
        this.bottomType = bottomType;
    }
    
    public boolean isWappen()
    {
        return wappen;
    }
    
    public void setWappen(boolean wappen)
    {
        this.wappen = wappen;
    }
}
